
PROG=noStop

CC=gcc
CFLAGS=-std=c99 -Wall -pedantic -ggdb -O0

ALLFILES=noStop.c Makefile

all: ${PROG}

${PROG}: noStop.c
	${CC} ${CFLAGS} noStop.c -o ${PROG}

.PHONY:run debug clean pack

run: ${PROG}
	./${PROG}

debug: ${PROG}
	gdb ./${PROG}

clean:
	rm -f *~ *.bak *.o ${PROG} ${PROG}.tar

pack:
	tar -cvf ${PROG}.tar ${ALLFILES}
